package cn.edu.springboot03.entity;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author Mr.ma
 * @since 2022/11/15 16:52
 **/
@Data
@Component
@ConfigurationProperties("jdbc")
public class DataBase {
    private String username;
    private String url;
    private String driver;
    private String password;
}
